package cn.tsvtc.shop.feign;/**
 * @Author Athena
 * @Date 2020/10/31 16:02
 * @Version 1.0
 * @Description no description
 */

import feign.hystrix.FallbackFactory;

/**
 * @author: Athena
 * @date: 2020/10/31 16:02
 * @description:
 */
public class LoginFeignFallback implements FallbackFactory<LoginFeign> {
    @Override
    public LoginFeign create(Throwable throwable) {
        System.out.println("feign出错啦，你大爷的"+throwable.getMessage());
        return null;
    }
}
